package com.rxh.service.impl.core;

import com.rxh.mapper.core.CoreAcquirerAccountMapper;
import com.rxh.pojo.core.CoreAcquirerAccount;
import com.rxh.service.base.AbstractBaseService;
import com.rxh.service.core.CoreAcquirerAccountService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class CoreAcquirerAccountServiceImpl extends AbstractBaseService<CoreAcquirerAccount, Integer> implements CoreAcquirerAccountService {

    private final CoreAcquirerAccountMapper coreAcquirerAccountMapper;

    @Autowired
    public CoreAcquirerAccountServiceImpl(CoreAcquirerAccountMapper coreAcquirerAccountMapper) {
        this.coreAcquirerAccountMapper = coreAcquirerAccountMapper;
        setMapper(coreAcquirerAccountMapper);
    }

    @Override
    public CoreAcquirerAccount selectNameById(Integer id) {
        return coreAcquirerAccountMapper.selectNameById(id);
    }
}